package com.mdxq.order;


import com.mdxq.feign.config.DefaultFeignConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author WanJl
 * @version 1.0
 * @title OrderApplication
 * @description
 * @create 2025/1/21
 */
// 设置将我们自定义的Feign配置类全局生效
//@EnableFeignClients(value = "com.mdxq.feign.client",
//        defaultConfiguration = DefaultFeignConfiguration.class)
@EnableFeignClients("com.mdxq.feign.client")
@SpringBootApplication
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
    }
}
